package com.woniuxy.yoga.business.model.form.businessaccount;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@ApiModel("商家修改账号密码参数对象")
public class ChangePasswordForm {
    @ApiModelProperty("旧密码")
    @NotBlank
    private String oldPassword;

    @ApiModelProperty("新密码")
    @NotBlank
    private String newPassword;
}
